package com.google.code.mergeinformer.util;

/**
 * @author Dmitry Golubev
 */
public class StringUtils extends org.apache.commons.lang.StringUtils {

    private StringUtils() {
    }

    public static String normalize(String string) {
        if (string == null) {
            return null;
        }
        return string.trim().replaceAll(" {2,}", " ");
    }
}
